Part Number Hot Search : 
AHK6030L 1N4759P MP7682 LA7293M X5323PZ H3104A 12030 2SC14
Product Description
Full Text Search
 

To Download MC68010 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ?otorola inc., 1993 m68000 8-/16-/32-bit microprocessors user? manual motorola reserves the right to make changes without further notice to any products herein. motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "typical" parameters can and do vary in different applications. all operating parameters, including "typicals" must be validated for each customer application by customer's technical experts. motorola does not convey any license under its patent rights nor the rights of others. motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the motorola product could create a situation where personal injury or death may occur. should buyer purchase or use motorola products for any such unintended or unauthorized application, buyer shall indemnify and hold motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that motorola was negligent regarding the design or manufacture of the part. motorola and are registered trademarks of motorola, inc. motorola, inc. is an equal opportunity/affirmative action employer. motorola ninth edition
motorola m68000 user? manual vii table of contents paragraph page number title number section 1 overview 1.1 mc68000................................................................................................ ..... 1-1 1.2 mc68008................................................................................................ ..... 1-2 1.3 MC68010................................................................................................ ..... 1-2 1.4 mc68hc000................................................................................................ 1-2 1.5 mc68hc001................................................................................................ 1-3 1.6 mc68ec000 ................................................................................................ 1-3 section 2 introduction 2.1 programmer's model ................................................................................... 2-1 2.1.1 user's programmer's model .................................................................... 2-1 2.1.2 supervisor programmer's model ............................................................. 2-2 2.1.3 status register ........................................................................................ 2-3 2.2 data types and addressing modes ............................................................ 2-3 2.3 data organization in registers ................................................................... 2-5 2.3.1 data registers ......................................................................................... 2-5 2.3.2 address registers ................................................................................... 2-6 2.4 data organization in memory ..................................................................... 2-6 2.5 instruction set summary ............................................................................. 2-8 section 3 signal description 3.1 address bus ................................................................................................ 3-3 3.2 data bus...................................................................................................... 3-4 3.3 asynchronous bus control.......................................................................... 3-4 3.4 bus arbitration control ................................................................................ 3-5 3.5 interrupt control .......................................................................................... 3-6 3.6 system control............................................................................................ 3-7 3.7 m6800 peripheral control ........................................................................... 3-8 3.8 processor function codes .......................................................................... 3-8 3.9 clock ........................................................................................................... 3-9 3.10 power supply .............................................................................................. 3-9 3.11 signal summary ......................................................................................... 3-10
viii m68000 user? manual motorola table of contents (continued) paragraph page number title number section 4 8-bit bus operations 4.1 data transfer operations............................................................................. 4-1 4.1.1 read operations ...................................................................................... 4-1 4.1.2 write cycle ............................................................................................... 4-3 4.1.3 read-modify-write cycle.......................................................................... 4-5 4.2 other bus operations............................................................................... 4-8 section 5 16-bit bus operations 5.1 data transfer operations............................................................................ 5-1 5.1.1 read operations ..................................................................................... 5-1 5.1.2 write cycle .............................................................................................. 5-4 5.1.3 read-modify-write cycle......................................................................... 5-7 5.1.4 cpu space cycle.................................................................................... 5-9 5.2 bus arbitration .......................................................................................... 5-11 5.2.1 requesting the bus .............................................................................. 5-14 5.2.2 receiving the bus grant ...................................................................... 5-15 5.2.3 acknowledgment of mastership (3-wire arbitration only)..................... 5-15 5.3 bus arbitration control .............................................................................. 5-15 5.4 bus error and halt operation .................................................................... 5-23 5.4.1 bus error operation .............................................................................. 5-24 5.4.2 retrying the bus cycle......................................................................... 5-26 5.4.3 halt operation ....................................................................................... 5-27 5.4.4 double bus fault ................................................................................... 5-28 5.5 reset operation ........................................................................................ 5-29 5.6 the relationship of dtack, berr , and halt ......................................... 5-30 5.7 asynchronous operation .......................................................................... 5-32 5.8 synchronous operation ............................................................................ 5-35 section 6 exception processing 6.1 privilege modes............................................................................................ 6-1 6.1.1 supervisor mode ...................................................................................... 6-2 6.1.2 user mode ................................................................................................ 6-2 6.1.3 privilege mode changes .......................................................................... 6-2 6.1.4 reference classification........................................................................... 6-3 6.2 exception processing................................................................................... 6-4 6.2.1 exception vectors .................................................................................... 6-4 6.2.2 kinds of exceptions ................................................................................. 6-5 6.2.3 multiple exceptions................................................................................... 6-8
motorola m68000 user? manual ix table of contents (continued) paragraph page number title number section 6 exception processing 6.2.4 exception stack frames.......................................................................... 6-9 6.2.5 exception processing sequence ............................................................ 6-11 6.3 processing of specific exceptions ............................................................. 6-11 6.3.1 reset ...................................................................................................... 6-11 6.3.2 interrupts ................................................................................................ 6-12 6.3.3 uninitialized interrupt .............................................................................. 6-13 6.3.4 spurious interrupt ................................................................................... 6-13 6.3.5 instruction traps ..................................................................................... 6-13 6.3.6 illegal and unimplemented instructions .................................................. 6-14 6.3.7 privilege violations ................................................................................. 6-15 6.3.8 tracing .................................................................................................... 6-15 6.3.9 bus errors ............................................................................................... 6-16 6.3.9.1 bus error ............................................................................................. 6-16 6.3.9.2 bus error (MC68010) .......................................................................... 6-17 6.3.10 address error ......................................................................................... 6-19 6.4 return from exception (MC68010) ........................................................... 6-20 section 7 8-bit instruction timing 7.1 operand effective address calculation times............................................ 7-1 7.2 move instruction execution times .............................................................. 7-2 7.3 standard instruction execution times......................................................... 7-3 7.4 immediate instruction execution times ...................................................... 7-4 7.5 single operand instruction execution times .............................................. 7-5 7.6 shift/rotate instruction execution times .................................................... 7-6 7.7 bit manipulation instruction execution times ............................................. 7-7 7.8 conditional instruction execution times ..................................................... 7-7 7.9 jmp, jsr, lea, pea, and movem instruction execution times............... 7-8 7.10 multiprecision instruction execution times ................................................. 7-8 7.11 miscellaneous instruction execution times ................................................ 7-9 7.12 exception processing instruction execution times ................................... 7-10
x m68000 user? manual motorola table of contents (continued) paragraph page number title number section 8 16-bit instruction timing 8.1 operand effective address calculation times ........................................... 8-1 8.2 move instruction execution times .............................................................. 8-2 8.3 standard instruction execution times ........................................................ 8-3 8.4 immediate instruction execution times ...................................................... 8-4 8.5 single operand instruction execution times .............................................. 8-5 8.6 shift/rotate instruction execution times .................................................... 8-6 8.7 bit manipulation instruction execution times ............................................. 8-7 8.8 conditional instruction execution times ..................................................... 8-7 8.9 jmp, jsr, lea, pea, and movem instruction execution times .............. 8-8 8.10 multiprecision instruction execution times ................................................. 8-8 8.11 miscellaneous instruction execution times ................................................ 8-9 8.12 exception processing instruction execution times .................................. 8-10 section 9 MC68010 instruction timing 9.1 operand effective address calculation times ........................................... 9-2 9.2 move instruction execution times .............................................................. 9-2 9.3 standard instruction execution times ........................................................ 9-4 9.4 immediate instruction execution times ...................................................... 9-6 9.5 single operand instruction execution times .............................................. 9-6 9.6 shift/rotate instruction execution times .................................................... 9-8 9.7 bit manipulation instruction execution times ............................................. 9-9 9.8 conditional instruction execution times ..................................................... 9-9 9.9 jmp, jsr, lea, pea, and movem instruction execution times ............ 9-10 9.10 multiprecision instruction execution times ............................................... 9-11 9.11 miscellaneous instruction execution times .............................................. 9-11 9.12 exception processing instruction execution times .................................. 9-13 section 10 electrical and thermal characteristics 10.1 maximum ratings ..................................................................................... 10-1 10.2 thermal characteristics ............................................................................ 10-1 10.3 power considerations ............................................................................... 10-2 10.4 cmos considerations .............................................................................. 10-4 10.5 ac electrical specifications definitions..................................................... 10-5 10.6 mc68000/68008/68010 dc electrical characteristics .............................. 10-7 10.7 dc electrical characteristics .................................................................... 10-8 10.8 ac electrical specifications?lock timing .............................................. 10-8
motorola m68000 user? manual xi table of contents (continued) paragraph page number title number section 10 electrical and thermal characteristics 10.9 mc68008 ac electrical specifications?lock timing ............................. 10-9 10.10 ac electrical specifications?ead and write cycles ............................ 10-10 10.11 ac electrical specifications?c68000 to m6800 peripheral............... 10-15 10.12 ac electrical specifications?us arbitration ......................................... 10-17 10.13 mc68ec000 dc electrical spec ifications.............................................. 10-23 10.14 mc68ec000 ac electrical specifications?ead and write .................. 10-24 10.15 mc68ec000 ac electrical specifications?us arbitration .................... 10-28 section 11 ordering information and mechanical data 11.1 pin assignments........................................................................................ 11-1 11.2 package dimensions ................................................................................ 11-7 appendix a MC68010 loop mode operation appendix b m6800 peripheral interface b.1 data transfer operation............................................................................. b-1 b.2 interrupt interface operation ...................................................................... b-4
xii m68000 user? manual motorola list of illustrations figure page number title number 2-1 user programmer's model ................................................................................... 2-2 2-2 supervisor programmer's model supplement ..................................................... 2-2 2-3 supervisor programmer's model supplement (MC68010) .................................. 2-3 2-4 status register .................................................................................................... 2-3 2-5 word organization in memory ............................................................................. 2-6 2-6 data organization in memory .............................................................................. 2-7 2-7 memory data organization (mc68008) ............................................................... 2-3 3-1 input and output signals (mc68000, mc68hc000, MC68010) .......................... 3-1 3-2 input and output signals ( mc68hc001) ............................................................ 3-2 3-3 input and output signals (mc68ec000) ............................................................. 3-2 3-4 input and output signals (mc68008 48-pin version) .......................................... 3-3 3-5 input and output signals (mc68008 52-pin version) .......................................... 3-3 4-1 byte read-cycle flowchart.................................................................................. 4-2 4-2 read and write-cycle timing diagram................................................................ 4-2 4-3 byte write-cycle flowchart .................................................................................. 4-4 4-4 write-cycle timing diagram ................................................................................ 4-4 4-5 read-modify-write cycle flowchart .................................................................... 4-6 4-6 read-modify-write cycle timing diagram........................................................... 4-7 5-1 word read-cycle flowchart ................................................................................ 5-2 5-2 byte read-cycle flowchart.................................................................................. 5-2 5-3 read and write-cycle timing diagram................................................................ 5-3 5-4 word and byte read-cycle timing diagram ....................................................... 5-3 5-5 word write-cycle flowchart ................................................................................ 5-5 5-6 byte write-cycle flowchart .................................................................................. 5-5 5-7 word and byte write-cycle timing diagram ....................................................... 5-6 5-8 read-modify-write cycle flowchart .................................................................... 5-7 5-9 read-modify-write cycle timing diagram........................................................... 5-8 5-10 cpu space address encoding ............................................................................ 5-9 5-11 interrupt acknowledge cycle timing diagram ................................................... 5-10 5-12 breakpoint acknowledge cycle timing diagram ............................................... 5-11 5-13 3-wire bus arbitration flowchart (na to 48-pin mc68008 and mc68ec000 ........................................................ 5-12 5-14 2-wire bus arbitration cycle flowchart ............................................................. 5-13
motorola m68000 user? manual xiii list of illustrations (continued) figure page number title number 5-15 3-wire bus arbitration timing diagram (na to 48-pin mc68008 and mc68ec000 ........................................................ 5-13 5-16 2-wire bus arbitration timing diagram.............................................................. 5-14 5-17 external asynchronous signal synchronization ................................................. 5-16 5-18 bus arbitration unit state diagrams................................................................... 5-17 5-19 3-wire bus arbitration timing diagram?rocessor active ............................... 5-18 5-20 3-wire bus arbitration timing diagram?us active ......................................... 5-19 5-21 3-wire bus arbitration timing diagram?pecial case ................................ ..... 5-20 5-22 2-wire bus arbitration timing diagram?rocessor active ............................... 5-21 5-23 2-wire bus arbitration timing diagram?us active ......................................... 5-22 5-24 2-wire bus arbitration timing diagram?pecial case ................................ ..... 5-23 5-25 bus error timing diagram .................................................................................. 5-24 5-26 delayed bus error timing diagram (MC68010)................................................. 5-25 5-27 retry bus cycle timing diagram ....................................................................... 5-26 5-28 delayed retry bus cycle timing diagram ......................................................... 5-27 5-29 halt operation timing diagram.......................................................................... 5-28 5-30 reset operation timing diagram....................................................................... 5-29 5-31 fully asynchronous read cycle ........................................................................ 5-32 5-32 fully asynchronous write cycle......................................................................... 5-33 5-33 pseudo-asynchronous read cycle ................................................................... 5-34 5-34 pseudo-asynchronous write cycle.................................................................... 5-35 5-35 synchronous read cycle................................................................................... 5-37 5-36 synchronous write cycle ................................................................................... 5-38 5-37 input synchronizers ........................................................................................... 5-38 6-1 exception vector format...................................................................................... 6-4 6-2 peripheral vector number format ....................................................................... 6-5 6-3 address translated from 8-bit vector number ................................................... 6-5 6-4 exception vector address calculation (MC68010) .............................................. 6-5 6-5 group 1 and 2 exception stack frame .............................................................. 6-10 6-6 MC68010 stack frame ...................................................................................... 6-10 6-7 supervisor stack order for bus or address error exception ............................. 6-17 6-8 exception stack order (bus and address error) ............................................... 6-18 6-9 special status word format .............................................................................. 6-19 10-1 mc68000 power dissipation (p d ) vs ambient temperature (t a ) ..................... 10-3 10-2 drive levels and test points for ac specifications ........................................... 10-6 10-3 clock input timing diagram ............................................................................... 10-9 10-4 read cycle timing diagram ............................................................................ 10-13 10-5 write cycle timing diagram............................................................................. 10-14 10-6 mc68000 to m6800 peripheral timing diagram (best case) .......................... 10-16
xiv m68000 user? manual motorola list of illustrations (concluded) figure page number title number 10-7 bus arbitration timing...................................................................................... 10-18 10-8 bus arbitration timing...................................................................................... 10-19 10-9 bus arbitration timing?dle bus case ............................................................ 10-20 10-10 bus arbitration timing?ctive bus case........................................................ 10-21 10-11 bus arbitration timing?ultiple bus request ................................................ 10-22 10-12 mc68ec000 read cycle timing diagram ...................................................... 10-26 10-13 mc68ec000 write cycle timing diagram....................................................... 10-27 10-14 mc68ec000 bus arbitration timing diagram ................................................. 10-29 11-1 64-pin dual in line ............................................................................................ 11-2 11-2 68-lead pin grid array ...................................................................................... 11-3 11-3 68-lead quad pack ........................................................................................... 11-4 11-4 52-lead quad pack ........................................................................................... 11-5 11-5 48-pin dual in line ............................................................................................ 11-6 11-6 64-lead quad flat pack .................................................................................... 11-7 11-7 case 740-03? suffix ....................................................................................... 11-8 11-8 case 767-02? suffix ...................................................................................... 11-9 11-9 case 746-01?c suffix .................................................................................. 11-10 11-10 case ?suffix ...................................................................................................... 11- 11-11 case 765a-05?c suffix ............................................................................... 11-12 11-12 case 778-02?n suffix .................................................................................. 11-13 11-13 case 779-02?n suffix .................................................................................. 11-14 11-14 case 847-01?c suffix .................................................................................. 11-15 11-15 case 840b-01?u suffix................................................................................ 11-16 a-1 dbcc loop mode program example................................................................... a-1 b-1 m6800 data transfer flowchart ......................................................................... b-1 b-2 example external vma circuit ............................................................................ b-2 b-3 external vma timing .......................................................................................... b-2 b-4 m6800 peripheral timing?est case................................................................ b-3 b-5 m6800 peripheral timing?orst case ............................................................. b-3 b-6 autovector operation timing diagram................................................................ b-5
motorola m68000 user? manual xv list of tables table page number title number 2-1 data addressing modes ....................................................................................... 2-4 2-2 instruction set summary .................................................................................... 2-11 3-1 data strobe control of data bus.......................................................................... 3-5 3-2 data strobe control of data bus (mc68008)....................................................... 3-5 3-3 function code output .......................................................................................... 3-9 3-4 signal summary ................................................................................................. 3-10 5-1 dtack, berr , and halt assertion results ..................................................... 5-31 6-1 reference classification....................................................................................... 6-3 6-2 exception vector assignment .............................................................................. 6-7 6-3 exception grouping and priority........................................................................... 6-9 6-4 MC68010 format code...................................................................................... 6-11 7-1 effective address calculation times.................................................................... 7-2 7-2 move byte instruction execution times ............................................................... 7-2 7-3 move word instruction execution times.............................................................. 7-3 7-4 move long instruction execution times .............................................................. 7-3 7-5 standard instruction execution times.................................................................. 7-4 7-6 immediate instruction execution times ............................................................... 7-5 7-7 single operand instruction execution times ....................................................... 7-6 7-8 shift/rotate instruction execution times ............................................................. 7-6 7-9 bit manipulation instruction execution times ...................................................... 7-7 7-10 conditional instruction execution times .............................................................. 7-7 7-11 jmp, jsr, lea, pea, and movem instruction execution times........................ 7-8 7-12 multiprecision instruction execution times .......................................................... 7-9 7-13 miscellaneous instruction execution times ....................................................... 7-10 7-14 move peripheral instruction execution times .................................................... 7-10 7-15 exception processing instruction execution times ........................................... 7-11 8-1 effective address calculation times.................................................................... 8-2 8-2 move byte instruction execution times ............................................................... 8-2 8-3 move word instruction execution times.............................................................. 8-3 8-4 move long instruction execution times .............................................................. 8-3
xvi m68000 user? manual motorola list of tables (concluded) table page number title number 8-5 standard instruction execution times ................................................................. 8-4 8-6 immediate instruction execution times ............................................................... 8-5 8-7 single operand instruction execution times ....................................................... 8-6 8-8 shift/rotate instruction execution times ............................................................. 8-6 8-9 bit manipulation instruction execution times ...................................................... 8-7 8-10 conditional instruction execution times .............................................................. 8-7 8-11 jmp, jsr, lea, pea, and movem instruction execution times ....................... 8-8 8-12 multiprecision instruction execution times .......................................................... 8-9 8-13 miscellaneous instruction execution times ....................................................... 8-10 8-14 move peripheral instruction execution times.................................................... 8-10 8-15 exception processing instruction execution times ........................................... 8-11 9-1 effective address calculation times ................................................................... 9-2 9-2 move byte and word instruction execution times .............................................. 9-3 9-3 move byte and word instruction loop mode execution times ........................... 9-3 9-4 move long instruction execution times .............................................................. 9-4 9-5 move long instruction loop mode execution times ........................................... 9-4 9-6 standard instruction execution times ................................................................. 9-5 9-7 standard instruction loop mode execution times .............................................. 9-5 9-8 immediate instruction execution times ............................................................... 9-6 9-9 single operand instruction execution times ....................................................... 9-7 9-10 clear instruction execution times ....................................................................... 9-7 9-11 single operand instruction loop mode execution times .................................... 9-8 9-12 shift/rotate instruction execution times ............................................................. 9-8 9-13 shift/rotate instruction loop mode execution times .......................................... 9-9 9-14 bit manipulation instruction execution times ...................................................... 9-9 9-15 conditional instruction execution times ............................................................ 9-10 9-16 jmp, jsr, lea, pea, and movem instruction execution times ..................... 9-10 9-17 multiprecision instruction execution times ........................................................ 9-11 9-18 miscellaneous instruction execution times ....................................................... 9-12 9-19 exception processing instruction execution times ........................................... 9-13 10-1 power dissipation and junction temperature vs temperature ( q j c = q j a ) ........................................................................................................ 10-4 10-2 power dissipation and junction temperature vs temperature ( q j c = q j c ) ........................................................................................................ 10-4 a-1 MC68010 loop mode instructions ...................................................................... a-3
motorola m68000 8-/16-/32-bit microprocessors user? manual 1- 1 section 1 overview this manual includes hardware details and programming information for the mc68000, the mc68hc000, the mc68hc001, the mc68008, the MC68010, and the mc68ec000. for ease of reading, the name m68000 mpus will be used when referring to all processors. refer to m68000pm/ad, m68000 programmer's reference manual , for detailed information on the mc68000 instruction set. the six microprocessors are very similar. they all contain the following features ?16 32-bit data and address registers ?16-mbyte direct addressing range ?program counter ?6 powerful instruction types ?operations on five main data types ?memory-mapped input/output (i/o) ?14 addressing modes the following processors contain additional features: ?MC68010 ?irtual memory/machine support ?igh-performance looping instructions ?mc68hc001/mc68ec000 ?tatically selectable 8- or 16-bit data bus ?mc68hc000/mc68ec000/mc68hc001 ?ow-power all the processors are basically the same with the exception of the mc68008. the mc68008 differs from the others in that the data bus size is eight bits, and the address range is smaller. the MC68010 has a few additional instructions and instructions that operate differently than the corresponding instructions of the other devices.
1- 2 m68000 8-/16-/32-bit microprocessors user? manual motorola 1.1 mc68000 the mc68000 is the first implementation of the m68000 16/-32 bit microprocessor architecture. the mc68000 has a 16-bit data bus and 24-bit address bus while the full architecture provides for 32-bit address and data buses. it is completely code-compatible with the mc68008 8-bit data bus implementation of the m68000 and is upward code compatible with the MC68010 virtual extensions and the mc68020 32-bit implementation of the architecture. any user-mode programs using the mc68000 instruction set will run unchanged on the mc68008, MC68010, mc68020, mc68030, and mc68040. this is possible because the user programming model is identical for all processors and the instruction sets are proper subsets of the complete architecture. 1.2 mc68008 the mc68008 is a member of the m68000 family of advanced microprocessors. this device allows the design of cost-effective systems using 8-bit data buses while providing the benefits of a 32-bit microprocessor architecture. the performance of the mc68008 is greater than any 8-bit microprocessor and superior to several 16-bit microprocessors. the mc68008 is available as a 48-pin dual-in-line package (plastic or ceramic) and 52-pin plastic leaded chip carrier. the additional four pins of the 52-pin package allow for additional signals: a20, a21, bgack , and ipl2 . the 48-pin version supports a 20-bit address that provides a 1-mbyte address space; the 52-pin version supports a 22-bit address that extends the address space to 4 mbytes. the 48-pin mc68008 contains a simple two-wire arbitration circuit; the 52-pin mc68008 contains a full three-wire mc68000 bus arbitration control. both versions are designed to work with daisy-chained networks, priority encoded networks, or a combination of these techniques. a system implementation based on an 8-bit data bus reduces system cost in comparison to 16-bit systems due to a more effective use of components and byte-wide memories and peripherals. in addition, the nonmultiplexed address and data buses eliminate the need for external demultiplexers, further simplifying the system. the large nonsegmented linear address space of the mc68008 allows large modular programs to be developed and executed efficiently. a large linear address space allows program segment sizes to be determined by the application rather than forcing the designer to adopt an arbitrary segment size without regard to the application's individual requirements. 1.3 MC68010 the MC68010 utilizes vlsi technology and is a fully implemented 16-bit microprocessor with 32-bit registers, a rich basic instruction set, and versatile addressing modes. the vector base register (vbr) allows the vector table to be dynamically relocated
motorola m68000 8-/16-/32-bit microprocessors user? manual 1- 3 1.4 mc68hc000 the primary benefit of the mc68hc000 is reduced power consumption. the device dissipates an order of magnitude less power than the hmos mc68000. the mc68hc000 is an implementation of the m68000 16/-32 bit microprocessor architecture. the mc68hc000 has a 16-bit data bus implementation of the mc68000 and is upward code-compatible with the MC68010 virtual extensions and the mc68020 32-bit implementation of the architecture. 1.5 mc68hc001 the mc68hc001 provides a functional extension to the mc68hc000 hcmos 16-/32-bit microprocessor with the addition of statically selectable 8- or 16-bit data bus operation. the mc68hc001 is object-code compatible with the mc68hc000, and code written for the mc68hc001 can be migrated without modification to any member of the m68000 family. 1.6 mc68ec000 the mc68ec000 is an economical high-performance embedded controller designed to suit the needs of the cost-sensitive embedded controller market. the hcmos mc68ec000 has an internal 32-bit architecture that is supported by a statically selectable 8- or 16-bit data bus. this architecture provides a fast and efficient processing device that can satisfy the requirements of sophisticated applications based on high-level languages. the mc68ec000 is object-code compatible with the mc68000, and code written for the mc68ec000 can be migrated without modification to any member of the m68000 family. the mc68ec000 brings the performance level of the m68000 family to cost levels previously associated with 8-bit microprocessors. the mc68ec000 benefits from the rich m68000 instruction set and its related high code density with low memory bandwidth requirements.
motorola m68000 8-/16-/32-bit microprocessor user? manual 2-1 section 2 introduction the section provide a brief introduction to the m68000 microprocessors (mpus). detailed information on the programming model, data types, addressing modes, data organization and instruction set can be found in m68000pm/ad, m68000 programmer's reference manual . all the processors are identical from the programmer's viewpoint, except that the mc68000 can directly access 16 mbytes (24-bit address) and the mc68008 can directly access 1 mbyte (20-bit address on 48-pin version or 22-bit address on 52-pin version). the MC68010, which also uses a 24-bit address, has much in common with the other devices; however, it supports additional instructions and registers and provides full virtual machine/memory capability. unless noted, all information pertains to all the m68000 mpus. 2.1 programmer's model all the microprocessors executes instructions in one of two modes?ser mode or supervisor mode. the user mode provides the execution environment for the majority of application programs. the supervisor mode, which allows some additional instructions and privileges, is used by the operating system and other system software. 2.1.1 user' programmer's model the user programmer's model (see figure 2-1) is common to all m68000 mpus. the user programmer's model, contains 16, 32-bit, general-purpose registers (d0?7, a0 a7), a 32-bit program counter, and an 8-bit condition code register. the first eight registers (d0?7) are used as data registers for byte (8-bit), word (16-bit), and long-word (32-bit) operations. the second set of seven registers (a0?6) and the user stack pointer (usp) can be used as software stack pointers and base address registers. in addition, the address registers can be used for word and long-word operations. all of the 16 registers can be used as index registers.
2-2 m68000 8-/16-/32-bit microprocessor user? manual motorola 31 16 15 8 7 0 31 16 15 0 d0 d1 d2 d3 d4 d5 d6 d7 a1 a2 a3 a4 a5 a6 a0 a7 (usp) pointer pc ccr status register program counter user stack seven address registers eight data registers 31 70 0 figure 2-1. user programmer's model (mc68000/mc68hc000/mc68008/MC68010) 2.1.2 supervisor programmer's model the supervisor programmer's model consists of supplementary registers used in the supervisor mode. the m68000 mpus contain identical supervisor mode register resources, which are shown in figure 2-2, including the status register (high-order byte) and the supervisor stack pointer (ssp/a7'). supervisor stack pointer 31 16 15 0 15 8 7 0 status register a7' (ssp) sr ccr figure 2-2. supervisor programmer's model supplement the supervisor programmer's model supplement of the MC68010 is shown in figure 2- 3. in addition to the supervisor stack pointer and status register, it includes the vector base register (vrb) and the alternate function code registers (afc).the vbr is used to determine the location of the exception vector table in memory to support multiple vector
motorola m68000 8-/16-/32-bit microprocessor user? manual 2-3 tables. the sfc and dfc registers allow the supervisor to access user data space or emulate cpu space cycles. 31 16 15 0 15 8 7 0 a7' (ssp) supervisor stack pointer ccr sr status register 31 0 vbr vector base register 20 sfc dfc alternate function code registers figure 2-3. supervisor programmer's model supplement (MC68010) 2.1.3 status register the status register (sr),contains the interrupt mask (eight levels available) and the following condition codes: overflow (v), zero (z), negative (n), carry (c), and extend (x). additional status bits indicate that the processor is in the trace (t) mode and/or in the supervisor (s) state (see figure 2-4). bits 5, 6, 7, 11, 12, and 14 are undefined and reserved for future expansion t s iii xnzvc 210 15 13 10 8 4 0 trace mode supervisor state interrupt mask extend negative zero overflow carry condition codes system byte user byte figure 2-4. status register 2.2 data types and addressing modes the five basic data types supported are as follows: 1. bits 2. binary-coded-decimal (bcd) digits (4 bits) 3. bytes (8 bits) 4. words (16 bits) 5. long words (32 bits)
2-4 m68000 8-/16-/32-bit microprocessor user? manual motorola in addition, operations on other data types, such as memory addresses, status word data, etc., are provided in the instruction set. the 14 flexible addressing modes, shown in table 2-1, include six basic types: 1. register direct 2. register indirect 3. absolute 4. immediate 5. program counter relative 6. implied the register indirect addressing modes provide postincrementing, predecrementing, offsetting, and indexing capabilities. the program counter relative mode also supports indexing and offsetting. for detail information on addressing modes refer to m68000pm/ad, m68000 programmer reference manual .
motorola m68000 8-/16-/32-bit microprocessor user? manual 2-5 table 2-1. data addressing modes mode generation syntax register direct addressing data register direct address register direct ea=dn ea=an dn an absolute data addressing absolute short absolute long ea = (next word) ea = (next two words) (xxx).w (xxx).l program counter relative addressing relative with offset relative with index and offset ea = (pc)+d 16 ea = (pc)+d 8 (d 16 ,pc) (d 8 ,pc,xn) register indirect addressing register indirect postincrement register indirect predecrement register indirect register indirect with offset indexed register indirect with offset ea = (an) ea = (an), an ? an+n an ? an?, ea=(an) ea = (an)+d 16 ea = (an)+(xn)+d 8 (an) (an)+ -(an) (d 16 ,an) (d 8 ,an,xn) immediate data addressing immediate quick immediate data = next word(s) inherent data # implied addressing 1 implied register ea = sr, usp, ssp, pc, vbr, sfc, dfc sr,usp,ssp,pc, vbr, sfc,dfc notes: 1. the vbr, sfc, and dfc apply to the MC68010 only ea = effective address dn = data register an = address register ( ) = contents of pc = program counter d 8 = 8-bit offset (displacement) d 16 = 16-bit offset (displacement) n = 1 for byte, 2 for word, and 4 for long word. if an is the stack pointer and the operand size is byte, n = 2 to keep the stack pointer on a word boundary. ? = replaces xn = address or data register used as index register sr = status register usp = user stack pointer ssp = supervisor stack pointer cp = program counter vbr = vector base register 2.3 data organization in registers the eight data registers support data operands of 1, 8, 16, or 32 bits. the seven address registers and the active stack pointer support address operands of 32 bits. 2.3.1 data registers each data register is 32 bits wide. byte operands occupy the low-order 8 bits, word operands the low-order 16 bits, and long-word operands, the entire 32 bits. the least significant bit is addressed as bit zero; the most significant bit is addressed as bit 31.
2-6 m68000 8-/16-/32-bit microprocessor user? manual motorola when a data register is used as either a source or a destination operand, only the appropriate low-order portion is changed; the remaining high-order portion is neither used nor changed. 2.3.2 address registers each address register (and the stack pointer) is 32 bits wide and holds a full, 32-bit address. address registers do not support byte-sized operands. therefore, when an address register is used as a source operand, either the low-order word or the entire long-word operand is used, depending upon the operation size. when an address register is used as the destination operand, the entire register is affected, regardless of the operation size. if the operation size is word, operands are sign-extended to 32 bits before the operation is performed. 2.4 data organization in memory bytes are individually addressable. as shown in figure 2-5, the high-order byte of a word has the same address as the word. the low-order byte has an odd address, one count higher. instructions and multibyte data are accessed only on word (even byte) boundaries. if a long-word operand is located at address n (n even), then the second word of that operand is located at address n+2. byte 000000 byte 000001 word 0 word 1 byte 000003 byte 000002 byte fffffe byte fffffe word 7fffff 1514131211109876543210 address $000000 $000002 $fffffe figure 2-5. word organization in memory the data types supported by the m68000 mpus are bit data, integer data of 8, 16, and 32 bits, 32-bit addresses, and binary-coded-decimal data. each data type is stored in memory as shown in figure 2-6. the numbers indicate the order of accessing the data from the processor. for the mc68008 with its 8-bit bus, the appearance of data in memory is identical to the all the m68000 mpus. the organization of data in the memory of the mc68008 is shown in figure 2-7.
motorola m68000 8-/16-/32-bit microprocessor user? manual 2-7 1514131211109876 543210 msb byte 0 byte 2 byte 1 byte 3 lsb integer data 1 byte = 8 bits 1 word = 16 bits bit data 1 byte = 8 bits 76 543210 151413121110 9876 543210 word 0 word 1 word 2 lsb msb even byte odd byte 1 long word = 32 bits long word 0 long word 1 long word 2 low order high order lsb msb 1514131211109876 543210 76 54321 0 76 54321 0 address 1 address 2 low order high order lsb msb 151413121110 9876 543210 addresses 1 address = 32 bits msb = most significant bit lsb = least significant bit address 0 decimal data 2 binary-coded-decimal digits = 1 byte 151413121110 9876 543210 msd bcd 0 bcd 4 bcd 1 bcd 5 bcd 2 bcd 6 bcd 3 bcd 7 msd = most significant digit lsd = least significant digit lsd figure 2-6. data organization in memory
2-8 m68000 8-/16-/32-bit microprocessor user? manual motorola bit data 1 byte = 8 bits 76543210 integer data 1 byte = 8 bits byte 0 byte 1 byte 2 byte 3 higher addresses 76 543210 lower addresses lower addresses byte 0 byte 1 byte 1 (ms byte) (ls byte) (ms byte) (ls byte) word 0 word 1 higher addresses 1 word = 2 bytes = 16 bits byte 0 1 long word = 2 words = 4 bytes = 32 bits byte 0 byte 1 byte 2 byte 3 byte 0 byte 1 byte 2 byte 3 high-order word low-order word long word 1 long word 0 high-order word low-order word lower addresses higher addresses figure 2-7. memory data organization of the mc68008 2.5 instruction set summary table 2-2 provides an alphabetized listing of the m68000 instruction set listed by opcode, operation, and syntax. in the syntax descriptions, the left operand is the source operand, and the right operand is the destination operand. the following list contains the notations used in table 2-2.
motorola m68000 8-/16-/32-bit microprocessor user? manual 2-9 notation for operands: pc program counter sr status register v overflow condition code immediate data immediate data from the instruction source source contents destination destination contents vector location of exception vector +inf positive infinity ?nf negative infinity operand data format: byte (b), word (w), long (l), single (s), double (d), extended (x), or packed (p). fpm one of eight floating-point data registers (always specifies the source register) fpn one of eight floating-point data registers (always specifies the destination register) notation for subfields and qualifiers: of selects a single bit of the operand {offset:width} selects a bit field () the contents of the referenced location 10 the operand is bina ry-coded decimal, operations are performed in decimal (
) the register indirect operator ?
) indicates that the operand register points to the memory (
)+ location of the instruction operand?he optional mode qualifiers are ? +, (d), and (d, ix) #xxx or # immediate data that follows the instruction word(s) notations for operations that have two operands, written , where is one of the following: ? the source operand is moved to the destination operand ? the two operands are exchanged + the operands are added the destination operand is subtracted from the source operand the operands are multiplied ? the source operand is divided by the destination operand < relational test, true if source operand is less than destination operand > relational test, true if source operand is greater than destination operand v logical or ? logical exclusive or l logical and
2-10 m68000 8-/16-/32-bit microprocessor user? manual motorola shifted by, rotated by the source operand is shifted or rotated by the number of positions specified by the second operand notation for single-operand operations: ~ the operand is logically complemented sign-extended the operand is sign-extended, all bits of the upper portion are made equal to the high-order bit of the lower portion tested the operand is compared to zero and the condition codes are set appropriately notation for other operations: trap equivalent to format/offset word ? (ssp); ssp? ? ssp; pc ? (ssp); ssp? ? ssp; sr ? (ssp); ssp? ? ssp; (vector) ? pc stop enter the stopped state, waiting for interrupts if then the condition is tested. if true, the operations after "then" else are performed. if the condition is false and the optional "else" clause is present, the operations after "else" are performed. if the condition is false and else is omitted, the instruction performs no operation. refer to the bcc instruction description as an example.
motorola m68000 8-/16-/32-bit microprocessor user? manual 2-11 table 2-2. instruction set summary (sheet 1 of 4) opcode operation syntax abcd source 10 + destination 10 + x ? destination abcd dy,dx abcd ?ay), ?ax) add source + destination ? destination add ,dn add dn, adda source + destination ? destination adda ,an addi immediate data + destination ? destination addi # , addq immediate data + destination ? destination addq # , addx source + destination + x ? destination addx dy, dx addx ?ay), ?ax) and source l destination ? destination and ,dn and dn, andi immediate data l destination ? destination andi # , andi to ccr source l ccr ? ccr andi # , ccr andi to sr if supervisor state then source l sr ? sr else trap andi # , sr asl, asr destination shifted by ? destination asd dx,dy asd # ,dy asd bcc if (condition true) then pc + d ? pc bcc


▲Up To Search▲   

 
Price & Availability of MC68010

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X